{"version":3,"sources":["inline-editor.js"],"names":["BX","namespace","Grid","InlineEditor","parent","types","this","init","prototype","eval","err","createContainer","create","props","className","settings","get","createTextarea","editObject","height","textarea","join","attrs","name","NAME","style","html","VALUE","createInput","value","undefined","util","htmlspecialcharsback","TYPE","CHECKBOX","type","checked","DATE","NUMBER","RANGE","isPlainObject","DATA","min","MIN","max","MAX","step","STEP","id","createCustom","data-name","createOutput","for","text","getDropdownValueItemByValue","items","result","filter","current","length","createDropdown","valueItem","ITEMS","data-items","JSON","stringify","data-value","children","validateEditObject","isArray","initCalendar","event","calendar","node","target","field","bindOnRangeChange","control","output","bubble","parseFloat","getAttribute","thumbWidth","range","position","positionOffset","Math","round","left","marginLeft","setTimeout","bind","createImageEditor","ImageField","getLayout","getEditor","span","container","TEXT","stopPropagation","delegate","_onControlKeydown","TEXTAREA","DROPDOWN","IMAGE","CUSTOM","requestAnimationFrame","HTML","res","processHTML","SCRIPT","forEach","item","isInternal","JS","evalGlobal","isDomNode","appendChild","code","preventDefault","saveButton","Utils","getBySelector","getContainer","fireEvent"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,WAQbD,GAAGE,KAAKC,aAAe,SAASC,EAAQC,GAEvCC,KAAKF,OAAS,KACdE,KAAKD,MAAQ,KACbC,KAAKC,KAAKH,EAAQC,IAGnBL,GAAGE,KAAKC,aAAaK,WACpBD,KAAM,SAASH,OAAQC,OAEtBC,KAAKF,OAASA,OAEd,IACCE,KAAKD,MAAQI,KAAKJ,OACjB,MAAOK,GACRJ,KAAKD,MAAQ,OAIfM,gBAAiB,WAEhB,OAAOX,GAAGY,OAAO,OAChBC,OACCC,UAAWR,KAAKF,OAAOW,SAASC,IAAI,4BAKvCC,eAAgB,SAASC,EAAYC,GAEpC,IAAIC,EAAWpB,GAAGY,OAAO,YACxBC,OACCC,WACCR,KAAKF,OAAOW,SAASC,IAAI,eACzBV,KAAKF,OAAOW,SAASC,IAAI,wBACxBK,KAAK,MAERC,OACCC,KAAML,EAAW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